-- GENERATED SPELL FOR [Sartharion Twilight Whelp] --


function spell0_31214(pUnit, Event) --@Fade Armor,n/a--
pUnit:FullCastSpellOnTarget(60708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31214', 15330, 1)
end

function Sorts_31214(pUnit, Event)
local choix_sorts_31214 = math.random(0, 0)
if choix_sorts_31214 == 0 then
pUnit:RegisterEvent('spell0_31214', 1, 1)
end
end

function mob31214_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31214', math.random(1500, 3000), 1)
end

function mob31214_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31214_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31214_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31214, 1, 'mob31214_Action')
RegisterUnitEvent(31214, 2, 'mob31214_Leave')
RegisterUnitEvent(31214, 3, 'mob31214_Kill')
RegisterUnitEvent(31214, 4, 'mob31214_Die')
